// app/models/user.js
// load the things we need
var mongoose = require('mongoose');

// define the schema for our user model
var interactiveuser = new mongoose.Schema({

    nickname :String,
    uid :String,
    gender :Number,
    accountUid :String,
    accountName :String,
    interactiveType :Number, //转发 1评论 2点赞
    weiboID :String,
    followerCount :Number,
    postCount :Number,
    fansCount :Number,
    city :String,
    addTime :Date,
    updatetime :Date,
    searched :Number
	});											

// create the model for users and expose it to our app
module.exports = mongoose.model('interactiveuser', interactiveuser,'interactiveuser');
